# foreach
names = ['rick','morty','somebody','someone']
for name in names:
    print(name)
print("all people is here")

for value in range(1,6):
    print(value)

numbers = list(range(1,6))
print(numbers)

# even numbers
even_numbers = list(range(2,11,2))
print(even_numbers)

# squares
squares = []
for value in range(1,11):
    squares.append(value**2)

print(squares)


squares = [value**2 for value in range(1,11)]
print(squares)
